package com.bom_samaritano.repositorio;

import java.util.Collection;

import com.bom_samaritano.Exception.BusinessException;

import com.bom_samaritano.model.Person;
import com.bom_samaritano.model.Route;
import com.bom_samaritano.model.VOGeneric;
import com.bom_samaritano.temp.LatLng;

/**
 * 
 * @version 1.0.0
 */
public interface IRepositorioUsuario {

	public void cadastrarUsuario(Person usuario) throws BusinessException;

	public void atualizarUsuario(Person usuario) throws BusinessException;

	public void deletarUsuario(Person usuario) throws BusinessException;

	public void cadastrarRota(Route route) throws BusinessException;

	public void alterarRota(Route route) throws BusinessException;

	public void deletarRota(Route route) throws BusinessException;

	public Collection<VOGeneric> getDadosRota(LatLng start, LatLng end)
			throws BusinessException;

	public Collection<Person> getAll() throws BusinessException;

	public Person getPerson(String login);

}
